home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / personal / deerexpt.zip / INSTALLC.BAT < prev    next >
DOS Batch File  |  1994-06-01  |  2KB  |  64 lines

  1. @ECHO OFF
  2. cls
  3. echo.
  4. echo If you are installing over a previous version its a good idea to back
  5. echo up the log files. Press 'Ctrl Break' to stop installation
  6. echo and backup files. (See Library file 'info' on how to backup files).
  7. echo.
  8. echo This install puts the program onto your hard drive and into a directory
  9. echo called 'hunt'.  You must run the install from the subdirectory where
  10. echo you have the original files.  The program asks you to copy certain
  11. echo files in case you have an existing copy of the program; if you are 
  12. echo copying over a previous version and wish to save log information then
  13. echo answer 'no' to the appropriate log file to save the old file which the
  14. echo new program can use.  Enter 'hunt' from Dos prompt to run program.
  15. echo.
  16. echo YOU MUST GO INTO SECTION 1 FIRST TO SET THE CORRECT PATH.
  17. echo.
  18. echo To run from Windows file manager, click on the hunt directory and 
  19. echo either the file hunt.pif or the file hunt.exe. The info file in the
  20. echo Library tells you how to create an icon under Windows to run the program.
  21. echo. 
  22. echo Enter 'Ctrl Break' or turn the computer off and then on to stop install
  23. echo now if desired or any key to continue.   Good Luck and Have a Great Day!
  24. echo.
  25. pause
  26. xcopy hunt.exe c:\hunt\
  27. if errorlevel 5 goto disker
  28. if errorlevel 4 goto room 
  29. if errorlevel 1 goto wrongdir  
  30. xcopy *.dba c:\hunt\
  31. xcopy *.dat c:\hunt\
  32. xcopy *.cfg c:\hunt\
  33. xcopy *.hlp c:\hunt\
  34. xcopy *.pif c:\hunt\
  35. xcopy *.txt c:\hunt\
  36. xcopy prolog.err c:\hunt\
  37. xcopy hunt.bat c:\
  38. xcopy install*.bat c:\hunt\
  39. xcopy *. c:\hunt\ /p
  40. xcopy *.diz c:\hunt\
  41. rem attrib -r c:\hunt\*.* 
  42. goto exit
  43. :wrongdir
  44. echo .
  45. echo You did not run install from source directory; change to the proper
  46. echo drive and/or directory and rerun install
  47. echo .
  48. pause
  49. goto exit
  50. :room
  51. echo .
  52. echo There is not enough room on your destination disk or you do not
  53. echo have enough memory; make hard drive room or free low memory.
  54. echo .
  55. pause
  56. goto exit
  57. :disker
  58. echo.
  59. echo Disk write error occured
  60. echo.
  61. pause
  62. goto exit
  63. :exit
  64.